							{if $_sysvars.url_rewrite == 'html' || $_sysvars.url_rewrite == 'rewrite'}

							{foreach from=$cats.categorys item=sec_catinfo}
							<dl>
								<dt><a href="{$_s.pub_dir}goods/{if $sec_catinfo.mark}{$sec_catinfo.mark}{else}c/{$sec_catinfo.id}{/if}/">{$sec_catinfo.name}</a></dt>
								<dd>
									<ul>
										{foreach from=$sec_catinfo.categorys item=thr_catinfo}
										<li>
											<span>｜</span><a href="{$_s.pub_dir}goods/{if $thr_catinfo.mark}{$thr_catinfo.mark}{else}c/{$thr_catinfo.id}{/if}/">{$thr_catinfo.name}</a>
										</li>
										{/foreach}
										<div class="clear"></div>
									</ul>
									<div class="clear"></div>
								</dd>
								<div class="clear"></div>
							</dl>
							{/foreach}

							{else}

							{foreach from=$cats.categorys item=sec_catinfo}
							<dl>
								<dt><a href="{$_s.web_dir}index.php?mdl=goods&{if $sec_catinfo.mark}mark={$sec_catinfo.mark}{else}id={$sec_catinfo.id}{/if}">{$sec_catinfo.name}</a></dt>
								<dd>
									<ul>
										{foreach from=$sec_catinfo.categorys item=thr_catinfo}
										<li>
											<span>｜</span><a href="{$_s.web_dir}index.php?mdl=goods&{if $thr_catinfo.mark}mark={$thr_catinfo.mark}{else}id={$thr_catinfo.id}{/if}">{$thr_catinfo.name}</a>
										</li>
										{/foreach}
										<div class="clear"></div>
									</ul>
									<div class="clear"></div>
								</dd>
								<div class="clear"></div>
							</dl>
							{/foreach}

							{/if}